<div id="header" style="position: relative; z-index: 1000;">
	<div class="nav-top" style="height: 75px; overflow: hidden;">
		<h1 id="logo" style="float: left; padding-right: 0px;">
			<a href="<?php echo url('default')?>"
				title="<?php echo $config['sitename'];?>"><img
				src="<?php echo $_BASE_DIR; ?>images/logo.jpg"
				alt="<?php echo $config['sitename'];?>" /> </a>
		</h1>
		<div id="top_r" style="float: right; width: 500px; padding-left: 0px;">
			<div id="top_r_t" style="float: right;">
				<ul class="style1">
					<li style="background: none"></li>
				</ul>
			</div>
			<div id="top_r_b" style="float: right; width: 500px;">
				<div id="account_c"></div>
				<span id="account_c_span"><a href="<?php echo url('users/home')?>">我的帐户</a>
				</span>
				<div id="top_userzone">
					<script type="text/javascript"
						src="<?php echo url('interface/loginjs')?>"></script>
				</div>
			</div>
		</div>
	</div>
	<div class="clear"></div>
	<div id="top_banner">
		<div id="top_banner_l"></div>
		<div id="top_banner_c">
			<div id="navList">
			<?php
			$menu = Menus::find('display = 1 and isback = 0 and parentid = 89')->order('order desc')->getAll();?>
			<?php foreach ($menu as $k=>$v):?>
			<?php if ($v->isout):?>
				<a href="<?php echo $v->url?>" target="<?php echo $v->target;?>"
					class="top_banner_on<?php echo $k;?>"><?php echo $v->title?> </a>
					<?php else :?>
				<a href="<?php echo url($v->url).$v->param;?>"
					target="<?php echo $v->target;?>"
					class="top_banner_on<?php echo $k;?>"><?php echo $v->title?> </a>
					<?php endif;?>
					<?php endforeach;?>
			</div>
		</div>
		<div id="top_banner_r"></div>
	</div>
	<div class="clear"></div>

	<div id="index_user">
		<div>
			<img
				src="<?php echo $_BASE_DIR; ?>images/website/image/index_user_03.jpg" />
		</div>
		<div id="index_user_con">
			<div id="account_c_new"></div>
			<span id="new_myaccount"><a href="<?php echo url('users/home')?>">我的帐户</a>
			</span>
			<div class="clear"></div>
			<ul>
				<li><a href="<?php echo url('users/userinfo')?>" rel="nofollow">个人信息</a>
				</li>
				<li><a href="<?php echo url('users/cardlist')?>" rel="nofollow">点卡记录</a>
				</li>
				<li><a href="<?php echo url('users/cardpay')?>" rel="nofollow">卡密充值</a>
				</li>
				<li><a href="<?php echo url('users/pay')?>" rel="nofollow">购买卡密</a>
				</li>
			</ul>
		</div>
		<div>
			<img
				src="<?php echo $_BASE_DIR; ?>images/website/image/index_user_13.jpg" />
		</div>
	</div>
</div>
<div class="clear"></div>
<script>
document.getElementById("account_c").onmouseover=function(){
	document.getElementById("index_user").style.display="block";
}
document.getElementById("account_c_span").onmouseover=function(){
	document.getElementById("index_user").style.display="block";
}
document.getElementById("index_user").onmouseover=function(){
	this.style.display="block";
}
document.getElementById("index_user").onmouseout=function(){
	this.style.display="none";
}
</script>
